package org.mihalovic.PES.data;



/**
 * @author Martin Mihalovic
 */
public class Rating {

    private int ratingId;
    private int fromUserId;
    private int toUserId;
    private String domainId;
    private float weight;
    
    
    public Rating(int id, int fromUserId, int toUserId, String domainId, float weight) {
        ratingId = id;
        this.fromUserId = fromUserId;
        this.toUserId = toUserId;
        this.domainId = domainId;
        this.weight = weight;
    }
    
    
    public int getId() { return ratingId; }
    public int getFromUserId() { return fromUserId; }
    public int getToUserId() { return toUserId; }
    public String getDomainId() { return domainId; }
    public float getWeight() { return weight; }
}
